Fix owner_id bug. Closes #348

This commit keeps the owner_id if the application if a root user
updates an app
Merge pull request #351 from PyBossa/issue-348-ownership-bug

Fix owner_id bug. Closes #348