Added check for core WP capability before removing capability.

This means that core capabilities are not removed from users on deactivation.
Added code to flush permalinks on activation (not sure if  working)
Fixed register_activation_hook calls needing to be to static methods.
Various fixes to code discovered after uploading to host server.
Fixed staid method call warning on PostType::createFromPost()
Merge branch 'master' of git://github.com/CubicMushroom/wordpress-core

* 'master' of git://github.com/CubicMushroom/wordpress-core:
  Added code to allow providing of full $labels for post registration.
  Corrected class check to remove namespace as no longer user.
  Corrected check for classname to remove namespace.
  Update to phpdoc.dist.xml to target src/ directory.
  Removed need to namespace in custom post type registration.
  Removed namespace related code that should have been removed in the last commit.
  Removed references to namespace to make compatible with PHP 5.2.

Conflicts:
	src/CubicMushroom/WP/Core/Base.php
	src/CubicMushroom/WP/Core/PostType.php
Conflict resolved in favour of namespaced classes