CRATEIT-151,152 Move crate size functions into Crate file.
CRATEIT-151, 152 Completed crate tree manipulation features.
Merge branch 'mvc' into ajax-sc

Conflicts:
	apps/crate_it/controller/cratecontroller.php