Bug 1114701: Replace function pointers with function references, r=keeler

--HG--
extra : rebase_source : 350e7f8170f6b1176e46b829026e9ee27b3303e5
Bug 1070444: Remove NSS dependencies in pkixbuild_tests.cpp, r=keeler

--HG--
extra : rebase_source : f07e38d40f1644cce30191f5d8ab29ac06582683