New feature: "confirmOnExit" directive for forms

Small change that adds a new attribute to the form that prompts if you try to navigate away from a dirty form:

    <form ... confirm-on-exit="optional message text">

Lacks tests - I couldn't think how to trap the alert (sorry - not a full-time javascript/angular developer).