Updated experiment.js and systme.php

experiment.js
experiment();
Thanks to adeneo {answer #4}
//stackoverflow.com/questions/20051666/check-if-value-is-in-array-always
-returning-true#

made code more dry alloing you to add pages to include in the
experiment in experimentPages.js array

updated the system.php for some error checking on the mysql query.
system.php now writes to a log file for every sucessful experiment
written to the database, as well as an error log for failed queries