Fixed to work with installation profile

## Needs Discussion

https://drupal.org/node/1897834#comment-8281431
In order to get exported beans to install during the installation phase you have to strictly define the bean_type. This pull request does two things.

* Separates the permissions from the content types
* Adds appropriate hooks and a general bean type class

This will need some testing and discussion around how separating out the permission effects existing sites. There should be a seamless update as long as the permissions module gets enabled.