XD-1106: JDBC to HDFS module
XD-1106: Allow use of 'sql' option.

This allows more flexibility than just setting the table and columns.
Also renamed 'names' module to 'columns' for consistency with JDBC sink.
XD-1106: Read column names from result set metadata

The names are cached in the RowMapper on first use and used to create
the tuple.
XD-1106: Use Spring's JdbcUtils for reading result set
XD-1106: Fix regex group in AbstractHdfsItemWriter
XD-1106: Reset item writers initialization flag when item writer closes
XD-1133: HDFS import-export script tests

Test 3 reproduces the error seen when undeploying/redeploying
a stream using the HDFS sink.
XD-1136 Fixing failure in HDFS sink  when undeploying and redeploying a stream

- problem was that file names or directories containing numbers interfered with
   creation of new file with numeric suffix for the stream
Use XD job name for JobExecutionInfoResource

- The jobName of JobExecutionInfoResource should not have
  the default ".job" suffix we have for all the XD batch jobs.
  It is fine to have this jobName as is in JobExecutionInfo.
  Since the REST client domain resource should expose the
  actual job name we need to remove the ".job" suffix from it.
- Fixed the tests.
Make scripts more ubuntu-friendly

Following Janne's suggestions.
Also use echo "-e" to interpret newlines in messages.