JCR-2113: Writing access control

This patch addresses the following as indicated in https://issues.apache.org/jira/browse/JCR-2113:
a. adjust jcr2dav module and make sure the RepositoryConfig gets a valid ac-provider configuration parameter set
b. complete setPolicy, Batch#setTree, + testing
c. complete removePolicy for jcr2spi and complete implementation for removal of protected items on jcr-server.

sorry.... but that's not going to work. please, refrain from using static fields for this kind of stuff.