Replaced return type (id) of Class-factory methods with 'instancetype'
Replaced explicit reference to class name in logFileWithPath factory method
Merge pull request #131 from Hecktorzr/master

Return type improvements for class factory methods