support Flask < 0.6
move example dir
remove standalone switch