Fix push activation on first registration

The push switch got toggled back when the dialog for granting iOctocat push rights came up. This lets it on and waits for the device token to come in, so that it can register in the background.
Add GHSubmodule class
Minor style adjustments
Use reo contents API throughout the app
Support for submodules

Closes #267