Add tslint configuration

+ added tslint configuration
+ tslinted each ts file and made edits (note: tslint has some bugs, so
it declars 4 warnings that are not an issue).