First stage of json support
merge back to master to support phar
partly stable json version
Merge branch 'master' of github.com:dslfaithdev/SocialCrawler into agent-json

Conflicts:
	agent.php
	controller/controller.php
Updated verified version
backwards compabilities in agent