Fix tests related to redirection of stderr
Switch dependencies to Ruby 2.1.2
Bump dependencies for 2.1.2
Bump version to 0.4.0
Update dependencies to Semantic Versioning recommendations
Update change log for 0.4.0