Merge pull request #2 from srguiwiz/master

Update for package extdirect 1.2.0
Use mongodb native driver to connect

Copy from extdirect-mysql, hence leave MySQL code in same file to be
removed in future commit.

Not a complete app yet, do not run as is.