Updating version to 0.5.0 (stable) in preparation for release.