PerlDancer/Dancer2 — pull request #111 by mokko (2012-10-29 05:24:17+00:00)
Title: path and hooks.t on cygwin

on cygwin hooks.t complains with error message (see GH-83, test output below). I traced the trouble to Handler/File.pm which constructs a wrong path in
`my $file_path = path($self->public_dir, @tokens);`

In this PR, I suggest to change normalize_path and some tests for this problem in `t/file_utils.t`

```
t/hooks.t .. 1/?
# Failed test 'before_file_render was called'
# at t/hooks.t line 96.
# got: '2'
# expected: '1'

# Failed test 'after_file_render was called'
# at t/hooks.t line 97.
# got: undef
# expected: '1'
t/hooks.t .. 3/?
# Failed test 'before_file_render was called'
# at t/hooks.t line 100.
# got: '3'
# expected: '2'

# Failed test 'after_file_render was called'
# at t/hooks.t line 101.
# got: '1'
# expected: '2'
# Looks like you failed 4 tests of 4.

# Failed test 'file render hooks'
# at t/hooks.t line 102.
```