jQuery UI Themes Packer: Remove basedir from manifest paths, with optional slash

This works when basedir is set to "" (empty string), where removing the
first segment actually destroys all paths. Tested with jQuery UI's release
script.

This also works with the default, tested using the build-packages grunt task.