Remove dangling whitespace & formatting.
Add a method to deleteEntities given a list.

Call this method with list of instances that implement the interface
BaseModelInterface and all instances will be removed from the database.
Add methods for retrieval using string comparison.

These methods will return List<EntityClass> using string comparisons.
Use more specific argument type declaration.

Thanks to @chrismayer for the suggestion. This also removes the
rather ugly-looking `BaseModelInterface.class.isAssignableFrom(clazz)`
and the type cast afterwards.
Be more explicit about return type of new methods.
Merge pull request #28 from marcjansen/more-dbdao-methods

More DatabaseDAO methods
Remove dangling whitespace.
Parse formatted date strings when deserializing.

When deserializing JSON strings sent from clients, we usually accept numeric
timestamps for date columns. With this change we can now also accept strings
in a common date format.

The current implementation will successfully parse dates passed as e.g.
`30.04.2013 13:43:55` because the `java.text.SimpleDateFormat` used is
`dd.MM.yyyy HH:mm:ss`. Future implementations might enhance this approach
with more sophisticated methods to both check whether we are deserializing a
formatted date and more formats which are tried in order to transform a string
to a proper date.
Added new method to transactionally create db-objects from a list of
objects.
Merge pull request #30 from buehner/createentitiestransactional

Add method to transactionally create db-objects from an entity-list.
Enhanced startup performance due to creation of a separate contextConfig
for the shogun-servlet (shogun-config.xml). the core config
(app-config.xml) wont be used as the core and servlet-config anymore.
This way the hibernate-schema-handling will only be executed once and
not twice. This noticeable enhances the startup time when e.g. using
hibernate.hbm2ddl.auto=create
pulled log4j config to the head of the web.xml to avoid warnings on
log4j initialization
Merge pull request #31 from buehner/improvedstartup

Enhanced startup performance
Increased the size of the LAYERS-column of the WmsMapLayer-class. This
way it will be possible to save strings that are larger than the default
size (of e.g. 255), which is e.g. necessary when saving a WmsMapLayer
with a long comma-separated LAYERS-argument.
Merge pull request #29 from marcjansen/date-string-deserializer

Parse formatted date strings when deserializing JSON.
Merge pull request #32 from buehner/initlog4j

pulled log4j config to the head of the web.xml to avoid warnings
Merge pull request #33 from buehner/layercolumnsize

Increased the size of the LAYERS-column of the WmsMapLayer-class
commit 1532d25d1add361d231c8f530e651273445b7c25 was corrupt. this commit
will revert to the previous state. we should discuss the
startup-performance-problem in future.
Merge pull request #34 from buehner/revertimprovement

repaired corrupt improvement commit