Refactoring: initialization, form submitting, some bug fixes.

2013 final results.
Add DomStructureStateComparator component. Initial steps to implement predictive crawling.
Trials to implement casper promise pattern with Q.js library.