Moved tests to their own directory.
Formatting changes only.
Added check for gnutls version for issue #9