Workaround for mootools issues with dev tool.
Reformat code.
Use json_encode/decode for browser ident overwrite data.
Fix referenced model class.
Fix @return class in phpdoc.