On App Shutdown

Add behavior to shutdown tern server when app shuts down.
Update compiled JS
Merge branch 'on-app-shutdown' into develop

Fix issue #14