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

Change-Id: Id7480931c005a4175f873162d24c3088bbb63b72
adapted examples to static_lib instead of source_lib

Change-Id: I2aff94726d9f79c52c0ee89413e542e5099fd590