Add portable example and makefile for AVR

This also add integration for Travis CI to make sure nobody breaks the portability.

**The previous PR (#2) should be merged first.**

Travis can be enabled at: https://travis-ci.org/profile