Allow single quoted attributes
Close #309
fix #319 Call $afterRender after actual DOM insertion

$afterRender method of components controllers is now called after the component corresponding markup is added to the actual DOM.