removed uneccessary log statement which sonar complained about
fixed states to use the available states in fcrepo's sources. Fixed Javascript to show a Piechart when only errors are in the database