add timer module

example:
```javascript
var t1 = timer('merge options');
//(profiled code block here)
t1(); //'merge options 232 ms'

var t1 = timer('merge options', 300);
//merge options code
t1(); //[nothing to report]
```