RFC: algorithm plugins

Today, I rebased my patch to your latest code supporting n-scrypt. Thus I implemented a generic way for supporting algorithm parameters.  In order to get a clean patch, I moved the X11 stuff to a branch.