Applying auto format changes
get folder for module web files programatically - TRUNK-1589

Made some changes - TRUNK-1589

Made more changes to the tests - TRUNK-1589

Applied auto format changes - TRUNK-1589
Made changes to throw an exception if the dispatcher servlet is null - TRUNK-1589

Fixed javadoc - TRUNK-1589
Taken care of trailing slash depending on if it is included or not which depends on the servlet container's Implementation of ServletContext.getRealPath - TRUNK-1859
Made minor change to getModuleWebFolder - TRUNK-1589
Replaced / with File.separator when fetching module web folder - TRUNK-1859