Properly use PRBool instead of bool
Add a empty() to SECItem
Refactor SECItem

This is a better RAII approach to SECItem.
For wrapping a struct or buf, this will also use the correct lifetimes.