Added LibraryTools.cmake which contains functions to make working with libraries for executable targets a bit easier.