Tranfer the business code for upload files into the Media Model.
Merge branch 'trunk' of https://github.com/demonofshadow/ASAV into james
update child
Merge branch 'trunk' of https://github.com/demonofshadow/ASAV into jeffrey

Conflicts:
	Asav/protected/views/children/view.php
u
add Reporttypes.php
Merge branch 'trunk' of https://github.com/demonofshadow/ASAV into michael
Bugfix: ExamplePeopleController.php crash when not logged in.