added use_api and get_form methods to OAuthRemoteApp class in core and updated twitter module to use new functionality