retrofit org.restlet version to match geoserver's 2.4.x
Remove duplication of code between geogit-geoserver and web-app

All web commands were moved to web-api to be used by noth web-app
and geogit-geoserver, each of which provide an implementation of
the new RepositoryProvider interface for web commands to get the
geogit instance to work with.
geogit-geoserver uses a RepositoryProvider that grabs geogit instances
from geogit datastores in the geoserver catalog.
web-app uses a simple RepositoryProvider for the single geogit
instance its serving.
ignore OSM ways with less that 3 nodes when mapping to a polygon
minor fix in osm mapping documentation
changed how py4j connector returns output of geogit commands.

It seems that, for large strings, it is not working and it freezes. This commit implements a different approach, in which strings are obtained in smaller fixed-size chunks
Removed dependency of geotools progress listeners
Merge pull request #627 from groldan/remove_code_duplication_in_web

Remove code duplication in geogit-web-app/geogit-geoserver
Merge pull request #631 from volaya/py4joutput

changed how py4j connector returns output of geogit commands.
Merge pull request #633 from volaya/progress_listener

Removed dependency of geotools progress listeners
Merge branch 'osm_fixes' of github.com:volaya/GeoGit into volaya-osm_fixes
remove redundant else clause
Fix bug introduced at b4cf9011ff for osm import-history

Commit b4cf9011ff06cf94b1fb2531ca3f8feb0d2efdf8 replaced
 listener.setCanceled(false);listener.progress(0f);
by
 listener.cancel();listener.setProgress(0f);
In OsmHistoryImport.commit(...) which made the commit
op for each changeset think the operation was cancelled
and hence no commit was performed at all.