inputdevices: rewrite && modify schemas

1. replace xinput with xinput2, except button mapping
2. replace gdk with xlib
3. add touchpad/mouse props and modify schemas
4. adjust the code structure

Change-Id: I78036a67bb9b4df8c16d80e404d269b6914ff4ab