fixes #1, fixes #4 Improve logger. Remove error when widget don't have rendering templates assigned

Add testing for the tickets. Add general licence file.