Made encoding into a feature as encode.
Travis-CI now builds with the encode feature.