More test harness setup.  Fixed db schema issues surrounding Permission model.

Signed-off-by: sigilworks <tj@sigilworks.com>