dispatch based on postpath, not path

Signed-off-by: Michael Hudson-Doyle <michael.hudson@linaro.org>
thi should work on the postpath
add some tests
Merge pull request #10 from hawkowl/non-root-api

Allow for Saratoga to be embedded in TWeb Resource trees