Prepare inside fetch
Do not store page on layout, pass it to fetch
Fix page rendering inside layout
Literal fix
Merge branch 'issue-1061' of github.com:tomaszdurka/CM into issue-1061

Conflicts:
	library/CM/Params.php
Merge pull request #1097 from njam/issue-1097

varDump: Model might not have id
Remove dropDatabase
Merge pull request #1100 from njam/issue-1100

Remove dropDatabase
check if class exists before adopting old configuration
Merge branch 'master' of github.com:cargomedia/CM into issue-900

Conflicts:
	library/CM/Model/Location.php
	resources/db/update/25.php
Added new regions after having updated region codes
CM_Config_Generator:
- store added and removed types
- introduced _checkTypesGenerated()
CM_App_Cli:
add output for changes in class type configuration
Allow to pass params as whole to function.component
Add getTemplatePath() and renderViewResponse() to CM_Render
Store view on CM_ViewResponse
Pass page params to fetch function (due to stateless component), also pass pageName instead of page instance
SImplify _getTplPath in RenderAdapter (use CM_Render method)
Fix: Pass render to component
Use pageName instead of page instance in layout template