adding simple-parse example
use fgets() rather than getline()
Merge pull request #214 from rdpoor/master

adding simple-parse example
examples/simple_parse.c: Reindent, fix warnings & style
Add Makefile.am for examples
examples/README.rst: Fix formatting