Enabled garbage collection profiling; saving more COUNT() queries; faste...

This enables GC::Profiling which can report data to be graphed in NewRelic. This commit fixes an issue where an :include parameter was growing iteratively, causing very large arrays to render slowly with .to_json. It also prevents some more unnecessary COUNT() queries