Add catch exception instead of throwing

See #525
Add create index with mappings

See #331, #508

Since via curl an index is created to be able
to set refreh interavll to -1, the java program
doesn't create an index anymore and with that no
mapping is set.
We need this settings and so we give them via curl.
Merge pull request #529 from lobid/issue-331-508-missing-mappings

Add create index with mappings
Merge pull request #526 from lobid/issues-525-catch-exception-httpOpener

Add catch exception instead of throwing
Merge branch 'master' into issue-331-hadoop-performance