Updated version number to 0.5.0 for release.
Updated version number to 0.5.1 for development.