FIX: psychopy experiment doesn't crash on session='006' anymore. Also,
no longer tracking condition files.
fix: [psychopy mTBI_rt experiment] images, run6 end message, launch
dialog to find previous run data

(1) all images are now:
 -- jpgs! (one was secretly a png before)
 -- 512x512, eliminating the 'powers-of-two' psychopy warning

(2) the end message for run6 (the last run) no longer says "get ready
for the next run". this is hard-coded via expInfo['session'] to be the
6th run. if we ever have more training sessions, this should be changed
by hand (or auto-computed).

(3) fixed a bug in how we looked for the previous run's data.
 -- before, it was assumed that all 6 runs occurred on the same calendar
day. but imagine running a subject at 11PM! or, for debug purposes, it's
good to be able to use a previous day's runs 1-5 when verifying that
run6 is working.
 -- now, the experiment will search on the same date for the previous
run. if it can't find anything, it will launch a dialog box containing
the filename that it tried, and the user must fix it and click OK.
 -- if that filename doesn't exist, the program will crash. the
error-checking here could be better.
 -- if the user mistyped the participant name, the user could fix that
here and run the experiment. but the user will PROBABLY BE SAD because
the filename for this run will still have the participant name wrong.
(1) renamed cond_and_XML_gen.py to createRTsession.py, make it take
subject name and session number as arguments. (2) cosmetic changes to
psychopy experiment: gave the components more useful names to make
reading the logs easier.
enh?: mTBI psychopy experiment... Trying to make the button-box keymaps
more robust.
(1) psychopy: one more triggerbox thing
(2) make_fakedata.py: DOESN'T WORK, but added name tags to input niftis
(3) createRtSession.py: added name tags to input niftis
(4) template.xml: added study:xml tag for non-default study_ref filename
enh: added fingertapping xml template
Merge remote-tracking branch 'anishas/master'
merge: Merge remote-tracking branch 'anishas/old_state'

This resets mTBI_rt.psyexp to its former working state (Jul 30 commit
c103...), and incorporates cherrypy deployment. THIS MAY NOT WORK.

Conflicts:
	mTBI_rt.psyexp
Merge remote-tracking branch 'anishas/old_state'
Tracking localizer + transfer experiments and stimuli in localXfer.
localXfer/Stimuli/spa are huge tif files that eveline is going to change anyway. untracking to avoid
adding 30Mb to the repo.
Merge remote-tracking branch 'origin/master'
Merge remote-tracking branch 'anishas/old_state'
ENH: Tracking fingertapping psychopy experiment and related XML generation stuff.
createRtSession.py: now uses environment variables SOFTWAREDIR, SCANNERPORT, INFOCLIENTPORT,
and sets the subjects dir via username.
createRtSession.py: disables oldgui via required command line argument.
Merge remote-tracking branch 'anishas/old_state'
FIX: cherrypy uses infoclient env variables to override defaults, and finds the psychopy stimulus properly.
FIX: createRtSession.py wasn't using infoclient remotePort, now does.
Also env var rename (actually in previous commit, but now the names
should be more consistent).
ENH: runDebug[1-6].xml are created, with tr=0.5.