replace not lstrip (fixes #86), add doctests, os del fix

lstrip is cool but evil. Use replace to remove cpe:/o:. fixes #86

Added doctests to cpe.py module in small attempt to actually tdd.

Restore the ability to delete from t_os