Fixed obvious error of documents not being imported, regards to mscdex and mchacki:

http://stackoverflow.com/questions/26742822/import-from-mysql-to-arangodb-consistently-incomplete-own-node-js-script

Also fixed termination in different styles.