Bug 931719 - [HW test] unlock button in orientation test test doesn't work

Modified codes to switch-case so that js would not complain for missing buttons
Bug 929388 - Incorporate a FXA Manager and FXA Clientinto the System app