Added C compiler and flags to python egg build.

The chosen compiler and flags were not propagated to setup.py and
distutils will default to the compiler the particular python was built
with. Selecting a specific compiler for building python eggs is needed
to deal with OS X Mavericks issue.

Review: https://reviews.apache.org/r/16419
Moved control of navbar tabs to MainController

This removes another dependency on jQuery and lets the MainController
control its tabs. `setNavbarActiveTab` was a global function that was
accessing the global DOM, which meant the controllers were editing
things they didn't control.

The MainController now sets the tab based on the path.

We are almost to zero jQuery...

Review: http://reviews.apache.org/r/16395
Paginated tasks on framework pages.

Review: http://reviews.apache.org/r/16396
Merge branch 'master' into feature/Debian