Rearrangement and refactoring of Java Services

* ServiceApplication, ServiceManager & CmdLineParser are moved from
  manager to java-askap
* cpdataservices use the above classes previously rather than package
  local implementations
* Functional tests updated to reflect new parameter set
* Explicitly close JDBC resources rather than wait for GC
* Improved exception handling


git-svn-id: https://svn.atnf.csiro.au/askapsdp/trunk@6549 1db04d4c-0ff0-4329-ae0b-98c546476c6a