Make HubToDate open-source

This commit gives:
- Almost finished code squashed from 150+ commits
- Documented code
- Fully functional app in its 1.0 state

Please, check out XDA and our G+ community!