Add profiling link to footer
Merge from refactor_scripts
Add a controller allowing the developer to enable/disable profiling
Add a basic debug script file
Add basic debug stylesheet
Merge branch 'refactor_footer' into profiling
Merge from refactor_footer
Merge branch 'refactor_footer' into profiling
Merge from refactor_scripts
Profiling at base controller: introduce pageGenerationBegin
Fix wrong path in footer include of profiling file
Merge branch 'roles' into profiling
Merge from http_error_explain
Make pi-button enable profiling and include an animation
Move pi button to the right
Fix image size before loading it
Merge master
Merge branch 'master' into profiling

Conflicts:
	views/header.php

Combine requirements to include both debug and jquery-ui CSS and JS.
Add play feature
Add a debugger.

Create a debugger model to store metadata about executed database
queries. For each query, store the query literal and the params
(groupped by query literal) and the time taken for execution.

A dummy debugger allows access to the API without slowing down
execution when profiling is disabled.