(NC-139) Set up SSL in integration tests and use it for puppet

This reuses the puppet agent's certs for the classifier. The puppet master now
uses SSL to speak to the classifier in integration tests, but general http
testing remains plain http.
(NC-139) Use SSL when acting as a client to puppet
(maint) Sort both sets of classes when synchronizing

This fixes a failure I was getting intermittently in integration tests. The
classes loaded from the db were not consistently sorted which would sometimes
result in failures in synchronize-classes.
Merge pull request #38 from pcarlisle/nc-139-ssl

(NC-139) SSL support