Modify detect to return default media flags

This should control the default values for things like autoplay, loop, etc.
Merged master
Removed migrate.py and fixed build in this branch
Merge branch 'master' of github.com:MediaCrush/MediaCrush into remove_mimetype_decisions
Added BitVector class
Merge branch 'remove_mimetype_decisions' of github.com:MediaCrush/MediaCrush into remove_mimetype_decisions
Update tasks.py to accept the new values from detect()
Set config fields in tasks.py
Removed decisions based on mimetype
Use flags in audio.html
Removed mimetype-based decisions from direct.html
Removed a couple of odd decisions based on mimetype
Moved _upload_f into _upload_object
Added flags to file object
Documented flags and improved Appendix A
Add /api/hash/flags endpoints
Added documentation for the flags endpoints
Use 'normalise_processor' where applicable
Added tests for flags
Added missing test files