multiple changes

- update gitignore
- whitespace in source
- reformat comments in source
- autotools-ize