Suggested changes for the functional spec.

Please review these changes! I have deleted some sections that are more appropriate for a design spec (the bit mentioning Javascript near the beginning, and the todo list at the end). I have also reformatted the markdown to make it more .. like markdown. I have added comments in the text as well, using square brackets, so be sure to remove those after addressing whatever the comment is.