! method visibility and globals

Signed-off-by: Spuds <spuds@spudsdesign.com>
! spacing, newlines, brakcets .. oh my

Signed-off-by: Spuds <spuds@spudsdesign.com>
! some directory case updates

Signed-off-by: Spuds <spuds@spudsdesign.com>
! move some querys to Themes.subs

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Move the other querys to Pacakge.subs

Signed-off-by: Spuds <spuds@spudsdesign.com>
! update to Themes.subs.php to add the moved querys

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Updates to Package.subs.php, adding querys from package controller

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Spelling errors

Signed-off-by: Spuds <spuds@spudsdesign.com>
! Add missing documentation
! Fix spelling errors
! Make better use of the moved querys to reduce redundant redundancy
! wrong var used in the query

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #315 from Spuds/packageFactors

Some minor updates to pacman