Documentation fixes, including adding BSD license; ignore and clean up build artifacts.