gitignore files in srv/files that are autocreated or not part of the project
fix error output on publish button
reuse status(500) on error and check it via ajax error
Merge pull request #4 from drscream/master

publish button fix for error output and gitignore user files