Added util methods and fixed Dom4j JSON serialization

- Added HttpServletUtils methods to create maps from differen servlet objects (requestParams, headers, cookies, etc.).
- Fixed Dom4j json serialization.
- Added ExceptionUtils.