Move restriction definitions to separate file
Introduce uri-to-entryid mapping array

Allows uri's to be mapped back to Zarafa entryid's. Doing this reverse lookup
was previously a very expensive operation; now we calculate the mapping once
and save it.