Improve detect method output to identify Liberty application type (WAR, EAR, JAR, SVR-PKG, SVR-DIR) and enabled java-overlay for JAR files

This pull request is for two separate work items.  
1) The output of the "detect" method is stored in the cloud controller db apps table detected_buildpack field. This improved data can now be queried to determine how many apps of each type are currently deployed.
2) Enabled java-overlay function for JAR files.