Update version to 0.5.0-dev.

Creates distarray/__version__.py to remove duplication.