switches FunctionTypeMirror to ClosureMirror
Types view to HTML Element
resolves bug on null checking
removes optional constructor parameters because of  Dart Issue 19635
removes unused import