renamed output temporary test directory
set explicit use of unittest objects
moved get_dihedral() function to PBlib
renamed output temporary test directory (2)
created tests for functions