Bug 885471 - 1. Fix software button manager on real device and nightly and simulator; 2. Add holdhome event.