cmake: added new option OSX_FRAMEWORK
cmake: USE_RELATIVE_PATHS now is option
cmake: plugins on Mac OS must use .dylib suffix
cmake: do not use trailing slash for normalized paths
added frameworks support to crypto.prf