add missing constructors, calling super(), move init code to separate mth

this allows for view-inflation from xml, and leaves in-code construction the same as it was.
related to #151, #165

(I know there is a similar pull request, but I needed this fix as well as the features currently on head - so I thought I might as well share...)