Upgrade TrialTester

can now load stimuli files
copy paste works better
css improved
Various Updates

advancedShuffles.php

New shuffling added for csv files.  Columns with "AdvShuffle" (case-insensitive) in them will be shuffled with these new shuffles.
Possible shuffles:
-Shuffle
-Block shuffle
-List Shuffle

CustomFunctions.php
bug fixes, better formatting for display2dArray(), and a new function CreateAliases() to extract from an associative array

initiateCollector.php
removed inconsequential code

instructions.php
now sends data to new file InstructionsRecord.php

InstructionsRecord.php
handles recording of isntructions data, then sends to trial.php

login.php
changes the way that trialTypes are searched for, by just including the scanTrialTypes.php file
improved a small issue with required columns that was generating an e_notice
included the new advancedShuffles.php file to shuffle stimuli and procedure
set initial PostNumber to 0, since we don't need a -1 value to indicate that data is coming from instructions
gave the option to skip instructions using a setting in the Settings file

next.php
removed, code moved to trial.php as a function

trial.php
all data recording now happens from trial.php, without traveling to next.php
so, the code of next.php has been turned into a function, recordTrial()
aliases for stimuli columns are now created as well
the check for $_POST has been simplified in a few ways:
  -no longer checks for data from instructions.php
  -now simply checks if the trial type for postNumber+1 is actually a trial type, rather than the more complicated previous method
  -if data is to be written, it is simply written using the function recordTrial()
  -this should fix a bug, involving a poorly timed refresh or a back-navigation of the browser, that happened when assigning $text &= current post number text column, made it appear that the trial existed when it, in fact, did not
an output buffer is started before any html is sent, so that trial types can choose to redirect, if needed
Precacheing will correctly show next trials with multiple items

settings.php
now has the option to skip instructions.php

new custom trial types
demonstrates how to use some new features