Fixes for no_db

Set the manager on the PersistenceManagerFactory while changing the
workspace

Nasty but works as workspace manager is linked to the command manager.

This dependency should be set in a high abstraction level
Setting the data manager while saving the command

This is a nasty fix. We need to proper refactor to comunicate
CommandManager with the active workspace manager

closes #395
Merge branch 'hotfix_395' into integracion

Fix of ticket #395
Merge branch 'integracion' into merge

Hot fixes
Merge branch 'master' of ../faradaygit into merge