Add error checking to JSON config parser.
Add ability to catch undefined actions in __call().
Move around methods to a more intuitive spot.
Remove invalid associative option and allow user to pass options to the internal json_encode() function call using a configuration passed to the constructor.