Merge pull request #346 from cymantic/master

Minor change to code mirror spec to read changes from the CodeMirror instance
Add 'dist' task to specify build directory
Merge pull request #356 from angular-ui/grunt

Add 'dist' task to gruntfile to specify build directory
onShown and onHidden callback functions added to uiModal based on the firing of shown and hidden events by bootstrap-modal.js

wire up by adding attribute value to ui-modal
e.g. ui-modal='{onShown:shownFn,onHidden:hiddenFn}'

updated ui-modal spec to make sure that the close tests take place after the modal has been opened first, otherwise they only confirm that the ui-modal hasn't been opened.
Merge remote-tracking branch 'upstream/master'
Merge branch 'master' into snapshot
snapshot build