Optimized bump.sh

* allow user to call script from everywhere
* made sed work on Linux and OS X

Fixes #342