Add keep_attrs to reduction methods
simplify copying of attributes and keep_attrs tests
clean up test style and add a bit of documentation
update signatures of numpy reduction functions
Merge pull request #141 from jhamman/keep_attrs

Add keep_attrs to reduction methods