Move to Beta API

Change the endpoint to the new API beta address.
Beta Product Flavor

Set up product flavors to allow building the beta product easily.
Set Proper Version

Gradle needs the version code in the build file for the flavor.
Fix preference crash after the user pressed quickly back (Settings)
Add genre null check to stop the nullpointer exception (GenericRecord)
Fix authentication conflict on the beta (AccountService)
Fix crash if user presses quickly on the view on mal option (ProfileActivity)
Fix picasso crash if user closed the activity before an image loaded (DetailViewGeneral)
Merge pull request #297 from ratan12/fixes

Fix bugs in the beta app
Fix the search button that wasn't working (Home)
Merge pull request #298 from ratan12/Fix_search

Fix the search button that wasn't working (Home)