Add 'shared' to the dsl for shared libraries
add the :minor and :major parameters to shared library
Fix for rebase from upstream latest
Version handling for osx
adapted examples to static_lib instead of source_lib

Change-Id: I2aff94726d9f79c52c0ee89413e542e5099fd590