Segmentation: Fix the wrong usage of section types

Eventhough the sectionTypes array was introduced, openTag handler was
not using it by mistake

Change-Id: I1a5c49102b545a369d48ca74319826e393dd5a9a
Segmentation: Reference handling improvements

This patch tries to improve the segementation of cases like
First sentence.[1] Another sentence

We cannot split at period because [1] is a reference link for
First sentence

Change-Id: Id0a16d7ab77d9860e5690090f15f8f07679ca5c4
Indentation fix in Logger.js

Change-Id: I8f31eca58f2db4c161d015ebfa22d7873b6d951c
Merge "Indentation fix in Logger.js"