Fix hdf5 library dir when libraries contain both debug and release.  Allow moab to be found with --moab=

This commit fixes some problems I keeps seeing with the lack of definition of HDF5_LIBRARY_DIRS that
end up being defined as

debug;/home/contrib/hdf5-1.8.13-sersh/lib/libhdf5_hl.so;/home/contrib/hdf5-1.8.13-sersh/lib/libhdf5.so;optimized;/home/contrib/hdf5-1.8.13-sersh/lib/libhdf5_hl.so;/home/contrib/hdf5-1.8.13-sersh/lib/libhdf5.so

for me.  The change just skips over the first library if its name is "debug"

The second change is to allow moab to be found with the --moab= syntax, just like hdf5 can be found.

I believe neither change will affect other usages.



The files that were changed were

Commits on Nov 15, 2014
	jrobcary 	jrobcary 	Fixing the hdf5 library find for case where it finds both debug and r… … 	e1d036c
	jrobcary 	jrobcary 	COmmented out wrong line. 	b214669
	jrobcary 	jrobcary 	This allows moab to be found in the same way that hdf5 is found, with… … 	

but the pull request lists all the files and changes I have merged in from upstream.  Not sure about this.  Is it correct?