Handle a trailing slash in NEEDLES_DIR correctly
Currently if the NEEDLES_DIR parameter is supplied with a trailing slash it causes the first character of the filename to be stripped and the JSON needle file is not found.
See Handle a NEEDLES_DIR that contain a trailing / correctly for the original context.
- AC1: A trailing slash in NEEDLES_DIR is effectively ignored
- Look at the existing proof of concept
- Consider File::Spec->canonpath
- Extend t/01-test_needle.t