Dependency Cleanup / Sonar Cleanup

Minor code cleanup issues reported by sonar.
Updated dependencies.

Fixed derby log location to be under target
Updated maven xsd to proper locatino
Change <name> to match <artifactId> so it works with myEclipse and
follows maven suggested standards.
Updated derby
Updated postgresql to jdbc4.