Added the collection of stack data for sql statements.
Bodge commit
Alex's SQL stack items' changes

I hate git merge
Adding new lines
Further UI changes

Added index page.
Added links between individual and plural pages.
Merge pull request #44 from dannybutler/master

Further UI changes