added a pan() method to the panzoom model

This is a code change in response to the following issue:
https://github.com/mvindahl/angular-pan-zoom/issues/12