a typo
Memoize user/profiles.
Add support for ~/.lein/profiles.d. Closes #871.

Add support for profiles.d within the user's Leiningen home directory. All .clj
files within LEIN_HOME/profiles.d will be treated as maps merged into the
original profiles.clj (if existing).

Erroneous .clj file inside profiles.d emits an error message and will be treated
as nil.

A profile defined multiple times will error and "crash" the loading of profiles,
such that profiles return nil.

The errors will only be emitted once for user-friendliness.
Document profiles.d functionality.
"De-regexify" trim-leading.
Remove directory part of root-path when copying jar, re #953.

When specifying :filespecs with `:type :path`, copy-to-jar will iterate
over all elements within the path if the path is a directory, and remove
the path from the front of the path when added as a JarEntry. This is an
issue if you specify a file, as the path will then just be an empty
string. This is solved by invoking the newly implemented dir-string and
remove the result of that instead of removing the path itself.