moved wql to query and improved require statements
moved permission spec helper
moved pack_spec_helper to wagn, too