Single-page API documentation with unified style.
Link math library where required.
Fix default bundle install dir on other platforms.

Upgrade to waf 1.8.4.