Moved bugherd to subdir
Bug fixes, started adding tests