Fix, prepend a directory seperator to dispatchPaths returned from Path,
otherwise resources within other resoruces get a crazy deep directory
structure that doesn't exist.

Also removed all instances of explode() being passed directly to end().
Keeps php strict happy.