my changes for erik

- I changed the file extensions from .html to .php for the appropriate files.
- I changed DB column names and data types as requested.

Things to be done:
- The code for sending data to a server is commented out.  Currently it uses the local save function.
- I do not expect that the stock text plugin accepts touching the screen as an enter, so it will not work on an iPad.
- David and you said that the notification of success of failure for each trial should be enhanced.