added some documentation
extended javascript models for usage with permissions
show static matrix in role form
updated form for roles
initialized multiple matrices
implemented service for converting permission masks
reimplemented rest service for roles