upgrade rebar to v2.5.0 and upgrade app template #131