XD-857 Generalize FileModuleRegistry -> ResourceMR

Introduce dedicated Exception for IO

Moved name first

Add assert and enhance type safety
XD-1028 UI - Do not hard-code server url

Add space in front of colon
XD-985: Stream driven file-to-hdfs import

Add a simple 'filehdfs.xml' module which can be used as follows

job create blah --definition "filehdfs --names=col1,col2,col3"

stream create csvstream --definition \
    "file --ref=true --dir=/somedir --pattern=*.csv > job:blah"
XD-984 Create file to JDBC batch import module

The module uses the same pattern for initialising the database as the
JDBC sink. The initialisation code has also been extended to allow the
the column definitions to be dynamically created from the "names"
parameter supplied to the batch job.
XD-988: Batch export from HDFS to JDBC.