Split test scripts into psql and mysql

- create a test/ directory and put different tests inside
- original test.sh starts specific tests based on what is installed on
the machine
- mysql test is currently running spouse example
Added NDB loader utility
Updated partial docs for MySQL & added example using ndbcluster

- for now disable mailing in travis test
- need improving mysql docs
Added loader code to support ndbloader

- not integrated in the final pipeline
- scala Dataloader.ndbload code not tested
MySQL integration test & bug fixes

- spouse example in a Scala test
- MySQL data loading with "local" tags
- branch testing with environment variable
Refactored ChunkingApp in testing to support both psql and mysql & Bug fixes

Changed ChunkingApp in test to TSV extractor:

- In input files to load, changed 'null' to '\N' for natural support in
both psql and mysql
- Updated UDF files in example/chunking/udf, while the application.conf
for example/chunking is not updated yet.
- now chunking runs in mysql test.

Bug fixes:

- In inference, do not use SELECT INTO syntax (not supported by MySQL).
Use CREATE TABLE AS syntax.
Updated chunking example to change to tsv_extractor
Updated biased coin to test both psql and mysql
Updated unit tests to cover MySQL; bug fixes and improvements

- discard mysqlimport and use LOAD DATA LOCAL INFILE
- hide ndbloader documentation for now; it is not utilized nor tested
now in DeepDive. Need to add this functionality into application.conf
and document it
- discussed different behaviors of psql/mysql in TSV extractor
- added unit tests into mysql tests.
Fixed loading config by adding MYSQL_LOCAL_INFILE option

Travis does not support LOAD DATA LOCAL INFILE. As a solution,
Developers can use `MYSQL_LOCAL_INFILE=1` env var to use `LOAD DATA
LOCAL INFILE`, or 0 (by default) to use `LOAD DATA` in loader, for
maximum compatibility.
Bug fixes

go back to mysqlimport and use --local flag, since no local may lead to
filename mismatches. Do not use LOAD DATA anymore, since it cannot pass
Travis tests.
Bug fixes in ndbloader: boolean, null
Integrated NDB loader into mysql port

- updated application.conf syntax to use it
- Finished documentation for it
- provide spouse example with ndbloader. Tested locally.
- Bug fixes in ndbloader
Updated ndbloader Linux binary and docs
Merge branch 'develop' into zifei-mariadb
Removed local config files in docs
change to LOCAL INFILE in MysqlInferenceDataStore; Cleaning up
Merge pull request #161 from HazyResearch/zifei-mariadb

Improvements, bug fixes and tests in MySQL port;