MODE-2173 Fixed the checking of READ permissions for nodes retrieved from queries.
MODE-2167 Added the ability to turn off ACLs if all policies were removed.
MODE-2167 Fixed the calculations which determine the number of ACL changes for a given node, turning ACLs on or off.
MODE-2173 Added an additional fix for the RowIterator: since rows are lazily loaded (as opposed to nodes) if ACLs are enabled, the RowIterator#size method will return -1 (unknown)
Merge pull request #1117 from hchiorean/MODE-2173

MODE-2173 Fixed the checking of READ permissions for nodes retrieved from queries.