updated to work without using fetch_all, also fixed the query to reflect new db structure
fixed the fetch_all commands in capricornLib
changed getRotationByTrainee to MYSQL_NUM instead of MYSQL_ASSOC
Merge pull request #18 from shadowdoc/fix-admin-index

updated to work without using fetch_all