Ensuring importer doesn't create illegal layer names.
Merge pull request #828 from jdeolive/importer-legalnames

Ensuring importer doesn't create illegal layer names.
Avoid NPE's in JDBCConfig when an object was deleted by another thread and it tries to return it out of the ids list
Merge remote-tracking branch 'upstream/master'