Cleaned-up .gitignore

Mostly because it had the word 'todo' in it, which would mess-up
searching for todo items.
Start of transactions/create

Also moved javascript from the controller to the view file. :D