cleanup and minor fixes

cleanup configure, fix xbmc-addon-bindings version parsing and make addons build on linux with cmake.
PREFIX stuff is not touched here.
@Montellese ping
Whatever makes sense for the platforms with versioned library files.