Profiling Decorator

Add a simple profiling decorator that will write
logs to /tmp/ and also output the 5 most expensive
functions (based on the combined time from all
calls, not individual call time).

The decorator is only active when DEBUG=True.
Improved Search performance around 25x.

This change involved “fixing me” - removing a 
work around which pulled content from Mongo 
because it wasn't in Solr. The change involved
three parts:

- Updating the Solr schema to add owner id and username.
- Updating the indexing operation to pass these values
- Updating the Search view to make use of this.

After deploying this change will require a full
reindex to add the new values to Solr once the
new schema has been copied over.
RFC 4627: The MIME media type for JSON text is application/json.