Extracted privilege controller tests.

Moved them into a separate file.
Added method to get all privs.
Added more controller functions for privileges.

Added extractPrivilegeFromDict(dict) and privilegeToJSON(privilege) and
associated tests.
Added external controller method and test

Added an external method to get global privileges for a person given a
person key (entityFK). Returns a JSON object. Unit test shows format.
Added external controller method for privileges

Method gives a list of organization entityFKs that a given person has
any assigned privileges for. Returns the list in JSON format.
Added external controller method for privileges.

Gets all assigned (organization) privileges for a given person and
organization, returns them in a JSON object.
Added external controller method for privileges.

Method returns all possible privileges in JSON format.
Added external controller method for privileges.

Added method to get all organizations that a person has a given
privilege for. This can be useful for functions on organizations, such
as creating events.
Base template for user permission/privilege settings
Added external grant privilege method.

External method to grant a privilege to a person and returns result in
JSON.
Updated second grant use case test.
Added external revoke privilege method.
Added more fields for template to see current static layout
Merge branch 'permissions' of github.com:umworkma/Comp4350 into permissions
Add privilege portal to nav side bar menu
sql for Demo user account
Added controller method for people in orgs.

Allows us to get people (key, fname, lname) in an organization. Required
that I add model/JSON conversion methods for Person. Also updated the
__repr__ for person to include username and password.
Merge branch 'master' into permissions
Change getOrgsWithPrivilegesForPersonJSON to return org_id and org_name
template render generated organization and privilege list