Fix URL resolver so that we can push Maven artifacts to local maven repositories.

* Hook "LocalIfFile" repository to also handle publishing
* Add test to ensure mavne publishign works.
Use Option.apply instead of Some.apply in ClassToAPI

When dealing with Java APIs (Java reflection in case of ClassToAPI), one
should always go through Option.apply that performs null check.

This is supposed to fix NPE reported in #1617. We don't have a reproduction
so this is just an educated guess.
Add workaround (and warning message) for when ChainResolver gets a null publication date while we investigate other issues.

* Attempt to set publication date to last modified time, if the stars align
* Issue warning about undefined resolution behavior otherwise
* Add scripted test which exercises the NPE issue in resolving -SNAPSHOTs.
* Commit scalariform style edit in Act.scala

* After parsing and transforming the pom, check for pub date.
* If we don't have a pub date, try to grab lastModified from the URL
* If we can't do anything, issue a warning about the problem artifact.
Adding notes for ChainResolver fixes.

Fixes #1611
propagate pattern descriptorOptional and skipConsistencyCheck
Merge pull request #1619 from gkossakowski/ClassToAPI-NPE

Use Option.apply instead of Some.apply in ClassToAPI
Fix NPE in ChainrResolver when there is no ivy file for a dependency.
Merge pull request #1618 from sbt/wip/mavne-resolution-woes

Fix various issues with maven + Ivy
Merge pull request #1621 from tmandke/0.13

propagate pattern descriptorOptional and skipConsistencyCheck
Small scaladoc fixes
Merge pull request #1627 from jaceklaskowski/scaladoc-fixes

Small scaladoc fixes
Reduce the noise when resolving maven artifacts.
Implemented cached resolution (minigraph caching)
Update to current 0.13.7-SNAPSHOT

$HOME/.ivy2/local/org.scala-sbt/sbt-launch/ instead of temporary target folder
spawn new instance of Ivy during minigraph resolution
split up json persistence into JsonUtil.scala
update deprecation message
some more minor changes
notes
Merge pull request #1631 from sbt/wip/cached-resolution

Cached resolution (minigraph caching)