Globally renamed 'assign' method/function to 'assign_perm'. 

Backward compatible but a depreciation warning is thrown. Also updated '.gitingore' to ignore WebDAV cache files.