Fix unaligned access on pre-armv7 boards and add .gitignore

https://github.com/andikleen/snappy-c/issues/12