DS-2348 REST Bitstreams should be only in original bundle.

Better logic at adding bitstream to bundle. It checks if bundle original
exists.
Removed copy-paste error
DS-2309 Allow repeated citation keys for Scholar

Google Scholar would prefer the citation_author is each on a separate line
So that has been done for author.
Replace finding original bundle.

Replace finding original bundle by getBundles("ORIGINAL").
Added missing bracket.
Fix DS-2352 : If an index directory is empty, it's obviously compatible with any version of Lucene.
Merge pull request #785 from tdonohue/DS-2352

DS-2352: IndexVersion.java attempts (and fails) to update and maintain empty indexes
Bundles length check repair.
Merge pull request #777 from ctu-developers/REST-improvement

DS-2348 REST Bitstreams should be only in original bundle.
DS-2309 Change mapping config from authors to author

Forgot to commit/push this change earlier
Merge pull request #778 from LongsightGroup/DS-2309-scholar-author

DS-2309 Allow repeated citation keys for Scholar
[DS-2333] catch OOM error on large files, continue processing
DS-2355 uncaught NPE resulting in loss of statistic
Merge remote-tracking branch 'upstream/master'