1 intergret the importer of web log into pipeline 2 change the mongodb to one db connection pool

change this to be:
- getProcessedWeblogDocument(json)
- call collection.insert(document); outside.
- add a testcase for the getProcessedWeblogDocument method.