Code refine

1.Removed the RegexKitLite. This lib was used to trim url, I modified
the logic and totally deleted it.
2.Updated the link&image tap event recognizing algorithm.
3.Updated the image layout algorithm.