(#1695) Add failing test for repository replace

As described in #1695, the `^:replace` metadata for the
`:repositories` section of the project file stopped working
around 2.4.0 (commit 17e91e6).

This commit adds a failing test that illustrates the
behavior.
(#1695) Respect priority when merging defaults

This commit adds an extra condition at the beginning of the
`setup-map-defaults` function, such that if one of the two
items being merged has a higher priority than the other,
it is honored.

This seems to fix the issue where the `^:replace` metadata
was not working properly
Updated help text for `test`
Merge pull request #1737 from jakebasile/update-test-help

Updated help text for `test`
Got rid of silly uses of apply and flatten
Another silly flatten that could be a mapcat
Expose version-satisfies?. Shouldn't be internal.
Bump stencil to 0.3.5.

Fixes #1739 and #1563.
Check :manifest before using default :main.

Fixes #1736 and probably #1710.
Merge pull request #1732 from cprice404/bug/1695-repository-replace

Fix support for `^:replace` metadata on `:repositories` (fixes #1695)
Don't change order of included profiles; fixes #1740
Merge pull request #1741 from jcrossley3/1740

Don't change order of included profiles; fixes #1740
Fix jar task for :classifiers

The classified jar files were not being generated due to incorrect
arguments in code.
remove clean targets for all profiles
Merge pull request #1742 from hugoduncan/fix-classified-jars

Fix jar task for :classifiers
Add with-write-permissions macro and use it in leiningen.jar/jar to check for correct permissions
Merge pull request #1745 from jebberjeb/clean-everything

remove clean targets for all profiles
Fix an issue when deploying project to Clojars.

In some setup, people are adding their GitHub usernames in the URL of the repo such that they don't have to provide their usernames when commiting to GitHub, just their password.

This was an issue with Leiningen since it was ignored and the POM file's <scm> section was not properly generated which leaded to a missing GitHub link on their Clojars project page.

The change in the regex of parse-github-url follows two rules of the GitHub username creation:

  (1) alpha-numeric and underscores only
  (2) minimum two characters
Merge pull request #1755 from fgiasson/master

Fix an issue when deploying project to Clojars.
Check if project data is available where needed for deploy tasks