move some example code to targets/ folder and rm old ast-match src
rename iterator.js target to loops.js
use more promises and partially implement "identifyPattern" method