added php doc and changes from static to instance method - precursor to adding config support for output
unit tests for the DualOutput class
DualOutput is a class to support xml, json and jsonp output
adding unit tests and the new DualOutput with changes to the Controller to support config options for the std_out