SOFTHSM-70: Fix memory leak warning by adjusting the destruction order.
Also remove so extra whitespace.
SOFTHSM-70: The functions are not used.
Workstation applications using SQLite normally do not need to invoke either of these routines.
Merge pull request #64 from bellgrim/SOFTHSM-70

SOFTHSM-70: Improved DB handling, part2