Add travis ci config.
Rewrite readme in ReST markup language.

Add travis ci badge.