Improve codes

Improve img parse, set the smaller title between alt and next text;

Improve paragraph parser, <p> can contain many inline elements;
Main element is prefered to be close to title element;
strip trailing non-sentence paragraph.