Add post-install hooks

Post install hooks are needed for example when a candidate has an available .zip file but no bin directory, or the bin dir needs to be modified (e.g. chmod +x).  I'm open to suggestion about where to store the hooks - they need to be candidate and possibly versions specific and available to all users (although possibly overridable locally - could be a separate issue).