[minor #33] add db.addPermission and db.removePermission methods

See issue #33 for details