[#33] Throw error for missing leading slash. Refactored code.
Merge pull request #50 from inaka/jfacorro.33.missing.slash.warning

[Closes #33] Throw error for missing leading slash