secure::erase() should be more secure

inline static void erase(T *object) {
  memset(object, 0, sizeof(object));
  delete object;
}

erase() only clear first sizeof(void *) bytes.
Merge pull request #23 from maksqwe/fix_secure_erase

secure::erase() should be more secure