Added json-chmod command line program.

Added new recurse parameter to permission-setting functions.

Refactored JSON permissions format to use both 'access' and 'level' keys.