Added hashdir

It calculates the SHA1 sum of a directory. This method is useful to check if the
contents of a directory has changed.
Calculate hash, reset updated players.
Added unittest for DB_Wrapper (start with -t or --test)