Cleaning compiler warnings and other nonfunctional changes

Resolves: https://jira.duraspace.org/browse/FCREPO-1262