Generated cache

Changed the public API. There will be two types of generators:
 * bundle structure generators
 * api cache generators

The classes generated by bundle structure generators will extend classes from generated api cache (just like in Admingenerator project). This will make it easier to quickly regenerate the code when changeing api configuration, while keeping the custom changes that override default behaviour.