Add "compact" as an export option

Using json as an example, compact is:

	"key": "translations"

wheras not compact is:

	"key": {
		"value": "translations",
		"comments": null,
		"references": [
			"Some\/File.php:1,2,3",
			"Some\/Other\/File.php:1,2,3",
		]
	}
rename/repurpose "details" to compact
split the writing loop into a protected method

easier to manage/test
format test json files for easier reading
add compact flag

Even though it should be derived
Regenerated cake.json

As translations are now exported ksorted - the whoe file changes
add a full-info cake export file for testing with
update the parsing logic to handle all cases

There are 4 cases, use a seperate method to make it easier to maintain