Get rid of unused constants
Create metadata store in the database and have legend use it.
Use https for the API
Fix the legend test for the new meta functionality and add the ability to get legends only for specific types.
Minor typo
Use HTTPretty to mock REST calls so we can test deeper into the stack.