adds tests for wikka install modules; moves functions from setup/header.php to setup/inc/function.inc.php to facilitate testing