changes to default options in write_to_cert
new hash format in av_certs.rb
extracted method to save cert info to db & code updates in av_certs to new hash format
code cleaning
added certificate_spec
xMerge branch 'tests' of https://github.com/AgileVentures/certificates into tests
Merge pull request #4 from AgileVentures/tests

Updates in code