Removed code which uses stash functionality

Made a start with removing stash functionality ( fixes #1192 )

@kytrinyx: could you tell me how I should create migrations? Normally I use rails g migration, but since this is not rails I don't know what the preferred way is

 If I'm correct I need to migrate two things: remove stash_name from the submissions table, remove all stashes.