Merge pull request #3 from robenkleene/fix-deprecations

Fix deprecated calls
Prepare 0.5.0 release