Implements an option for Environment#precompile to cache paths.

This results in a huge improvement in speed during development.

A performance test is included to check the recompilation is working.
Fixes issue #79.