Add readline history support.
Make GNU Readline usage optional (USE_READLINE define). Still enabled.

Readline is GPL, so linking with it casts the binary GPL.
Merge pull request #21 from pfalcon/readline-improve

Support Readline history and make it optional