support versioning of shared objects

Change-Id: I12d0d67ea96b1cea19e8f7e860245fcc8dc47937
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>