Added documentation on the embed_optional parameter
Added documentation on the options hash content
Added hook functionality that allows the model to override the options
Fixed wrong use of opts
Moved documentation and expanded on Rails use
Moved indentation level for arguments down a few steps
refactoring registry and dereferencer
Fixed the model-hook call and added a hook to the factory in order to allow not only the object but also the
collection to hook into the options (in that case, it needs to be a lambda in the collection).
address pr comments. refactoring
param rename: block instead of function
include ConfigHelper into Dereferencer
fixing typo: forgot to require crichton/helpers in dereferencer
major refactoring. need testing
Updated location samples
Moved options form details to representor module and thereby in the serializer context.
Addressed comments
Removed whitespace
minor spec refactoring because of iterface change
fixing registry for specs to pass
removed extra empty line. fixed comment