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
Fixed Deletion of Multiple Certificates
Tests for Certificates Model
Merge pull request #6 from sampritipanda/level_2_prep

Preparation for Level 2 Certificates
moved logic files to lib. Updated rspec configuration