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)
Fix the card header that wasn't width enough (Cards)
Merge pull request #299 from ratan12/fixes_2

Fix the card header that wasn't width enough (Cards)
Small gradle update

- use recommended build tools and gradle version
- update wrapper task (missed this on #286)
- remove unused maven repositories
Merge pull request #300 from d-sko/gradle_update

Small gradle update
Fix MALDateTools

- added support for formats to formatDateString():
  - yyyy-MM-dd
  - yyyy-MM-dd'T'HH:mmZ
  - yyyy-MM-dd'T'HHZ
- removed crashlytics logging from formatDateString as it is not useful
  there
Simplify onStatusDialogDismissed

This was way to complicated.
Merge pull request #301 from d-sko/maldatetools_fix

Fix for MALDateTools
Merge pull request #302 from d-sko/status_cleanup

Simplify onStatusDialogDismissed
Fix numberpickers don't lose focus after a manually input (src)
Merge pull request #306 from ratan12/fix_numberpicker

Fix numberpickers don't lose focus after a manually input (src)