Add `page.exit` method

Allows creating "exit routes" which are called when a page is exited,
instead of when it's entered.

Fixes #38.

Have also included a commit to update the standalone build with the
additions from f52eb46, as it was previously behind master.

Thanks!