fixed bug introduced by last change to FreebaseType object creation; separated factories; added workaround to console.log
fixed bug introduced by last change to FreebaseType object creation; separated factories; added workaround to console.log

dbpedia-spotlight/demo,dbpedia-spotlight/demo