Simplify skipComment() function.
Simplify skipComment() function.

Just like in V8 and other JavaScript engine, handle single-line and multi-line
comment separately. This avoids building a "mini state-machine" inside
skipComment() function.

This reduces the cyclomatic complexity of skipComment() from 19 to 8.

http://code.google.com/p/esprima/issues/detail?id=396
(cherry picked from commit 6fc9f49903702b8d69d2ae947d2755f0ba3c1f6a)

Conflicts:
	esprima.js

fishbar/esprima,facebook/esprima,kittens/esprima,fishbar/esprima,kittens/esprima,thr0w/esprima,facebookarchive/esprima,facebookarchive/esprima,sebmck/esprima,sebmck/esprima,thr0w/esprima,thr0w/esprima,facebookarchive/esprima,facebook/esprima,facebook/esprima,fishbar/esprima