Triples API fixed and refactored
Local web server port is changed from 80 to 4949
Service.ts is compiled manually into service.js
Merge pull request #1142 from sergey-berezin/master

Triplets API bugfixed and refactored