hack up publishing to work with our repos

quick first attempt to make it work with artifactory online

snapshot publishing has been tested, release publishing still needs to
be fixed up.

Note this also adds the credential sourcing line which means you need
to put your artifactory credentials in ~/.ivy2/.credentials in the
form:

realm=Artifactory Realm
host=cloudphysics.artifactoryonline.com
user=XXX
password=XXX