fix #1148 disable npm spinner on travis

npm 1.4.11+ uses spinner (progress indicator) which messes with the output
of the test suite, making it less readable. There's no need for it during
Travis builds.

(cherry picked from commit ac76d630516a09817938ee37eea4ad2a2e9272a7)
setting npm version after npm update

(cherry picked from commit c5b63232508caef42886e76b507115482ae7ba7c)
fix #1307 Dialog onClose callback

This fix adds the possibility to call a callback everytime the Dialog widget is closed.

(cherry picked from commit 51cb18f880b8dc4bab76b5bd13843f39f3f71ccb)
v1.4.17L