GCC 4.5 compatibility: no forward enum declarations.
package: fix NaCl Jenkins configuration.
Fix NaCl build.

Apparently I enabled the queries for NaCl without testing at all.
Platform: fix documentation.

The templates arguments were breaking the doc layout badly, hiding them
for documentation.
Merge branch 'master' into compatibility