Congress candidate Imran Masood who threatened to kill Modi gets bail