refactoring of Resource and Document url helpers
removed useless options array
Merge pull request #140 from jurasm2/feature/url-helpers-refactoring

refactoring of Resource and Document url helpers