Twitter functionality for Android

Redoing the pull-request for twitter functionality in Android by basing it off of the development branch.  This PR incorporates fixes to a bug mentioned in the previous PR and should be merge-able with development branch.