Port the alfred class to a new alfred2 class

Installs the latest, as of today, Alfred 2 beta. The class is also
parameterised, allowing upstream version bumps to happen without
requiring an associated module version bump for end-users.