Bumps version to 0.5.1.
Fixes issues with travis.
Merges branch 'release/0.5.1' into develop