getting 0.4.0 resolved issues into 0.3.*

Getting the issues that were in the 0.4.0 branch into 0.3.*. 

0.4.0 will be a massive overhaul (extension and/or custom builds)

## Resolves
* https://github.com/fabien-d/alertify.js/issues/78
* https://github.com/fabien-d/alertify.js/issues/7