Refactored importer into core, rest, bdb, and web modules.

Also changed package namespace to org.geoserver in preparation for pushing
code into geoserver core.