Bumped version to 4.0.0.
Merge pull request #302 from dragos/bump-master-version

Bumped version to 4.0.0.