Hungarian police allowed hundreds of migrants to pour into Budapest's main railway station in hopes of travelling to western Europe.