Bug 921891, part 3: Add basic building and verification, r=keeler, r=cviecco

--HG--
extra : rebase_source : 7b01773c47445efc40941ae251d03f505f429be6
extra : source : 2a36da04b931740858d51023b2cc8ef7528ef740
Bug 921892: Check basic constraints in insanity::pkix, r=keeler, r=cviecco

--HG--
extra : rebase_source : 6a5bb14c2ba8ba195dfdb207e86016577ddd836a
Bug 921893: Verify key usage extension in insanity::pkix, r=keeler, r=cviecco

--HG--
extra : rebase_source : 1ea7626ed36cd92cdbf2aea5533e983fc0f58a44