added cleanExperimentEnviroment()

solved problem of event listeners being constantly binded to a after
window.onbeforeunload, by cleaning all clicks first in clickCounter()
with window.onbeforeunload = null;

 setCookieData() set all cookie data from experiment variabled

changed global functions $experimentSystem

updated experimentEnviroment() to check weather a experiment is in
progress when initialising, if it is it grabs values and sets
experiment varibles for enviroment
updated experiment.js

removed quirks mode js function (they werent very good)

added jquery.cookie library, the current external js load function is
quite slow, im looking to make this js script into a require.js module,
once its in a fully working order

updated cleanExperimentEnviroment with new jquery cookie functions

updated pageCounter() timeSpent to global $timeSpent standard

setCookieData(); was overiding cookie values on every page moves
meaning it wasnt added page clicks across the experiment, this updated
to additional exiting cookies to on page vars. you have to parseInt()
cookie intergers to addition them

updated experimentEnviroment() to use jquery cookies
defined existin globals to avoid bug, when passed onto pages in the

experiment these vars not being declared

seperated code that updated forms into seperate functions

problem with experiment.js not submitting data with both passed on
cookie values and on page vars, updated

submitExperimentData()

to first buildExperimentData();
then updateTimeForm() and updateClickForm();
so forms are ready for sugmitting via ajax

put the cleanExperimentEnviroment() in a successful ajax response, we
can assume the experiment is finished when data is submitted so clean
the enviroment
Revert "defined existin globals to avoid bug, when passed onto pages in the"

This reverts commit 404dd9c5a7f40406a93cf3b130c2697da29ee4c8.
Revert 404dd9c..38b1798

This rolls back to commit 404dd9c5a7f40406a93cf3b130c2697da29ee4c8.
updated ignore

ignore logs
updated log structre
Merge pull request #4 from jkirkby91/dev-1

Dev 1