improve error msg of getFolder
improve resolveAssets helper
add sample project to test on
do travis