Updated to work with latest support lib.

Applied patches as provided by Oleg Vaskevich.
http://stackoverflow.com/questions/10720276/error-including-android-directionalviewpager-jar-in-eclipse/12018612#12018612