began method for $ref resolution

Added new method to TW_JsonExtended to handle resolving $ref pointers.
created custom base Iterator class

Beginning experiments with SPL iterators to use in project.