BISERVER-11724 JcrRepositoryFileDao class has many code duplicates

@pentaho-nbaker
this pull-request instead https://github.com/pentaho/pentaho-platform/pull/2003
without xml changes
Why was the license header removed from this file?