Added ability to add new rows.
Added fast-edit links. Cleaned up a lot of repeated code.
Merge pull request #1 from wiked/master

Merging pull request from wiked