Bye mcrypt, hello openssl

Signed-off-by: Kenny Millington <kenny@kennynet.co.uk>
 Minor fixes.
 bruutveal openssl support.
 Port pthreads implementation to openssl base.