Default title can now be defined as function return value too. Corresponding test added
Merge latest optimizations from forked branch. Also fix introduced bug in index.html for cases, when tests run in the index.html page using regular browser, not PhantomJS.
Merge pull request #8 from evereq/master

Default title can now be defined as function return value too