Fix for issue #51 - auto relink db to app container.

fixes issue #51 

- Ensure the ```get_postgresql_id()``` get only running container. This made command ```postgresql:link``` works after rebooting.
- Auto relink app to container after rebooting