Add `page.exit` method

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

Fixes #38.
Update standalone build

Was previously out of date.
Merge pull request #180 from hughsk/page-exit

Add `page.exit` method