Modified and DRYed factory spec
Added specs to test state_method functionality.
Added factory spec test missing attribute on hash associated with a state_method and fixed logic in Representor module to return correct state.
Merge pull request #17 from mdsol/feature/refactor_resource_descriptor_structure

Feature/refactor resource descriptor structure
Merge branch 'develop' into feature/representor_factory
Refactored object target access to state method to include error handling
fixed indentation
Merge pull request #18 from mdsol/feature/representor_factory

Feature/representor factory
Merge branch 'develop' into feature/metadata_links