Add a require.
Optimize path queries by use subquery on locations_posts instead of expensive join.
Add ActiveRecord eager loading to 'GET /posts/:uid' common case.
Merge branch 'optimize_path_query' into consolidated_pull_requests

Conflicts:
	lib/models/post.rb
Merge branch 'optimize_get_posts_collection' into consolidated_pull_requests