phpside summary generation

Created summary generation from cakephp. Should be tested if it works on unix based systems (slashes in command). Also some problems with exec in php 5.2.2+ on windows. https://bugs.php.net/bug.php?id=41874. Current command should work