feature(macModal): Added callbacks for before and after showing modal and before and after hiding modal

Closes #154
chore(grunt): Added option to run e2e tests locally
test(macModal): Moved e2e tests to protractor