added "delete" function

*added "delete", documented, tested
*extracted getRequired* and removed stray ";"
*bumped hk2 to 1.7.0 everywhere