Feature/issue48

V4.0.0 
* Implementing API v2.1, fixes #48 
* Changing response code to integer, fixes #44 
shorter:
return this.interval + " " + this.unit + ((getWeekday() != null) ? "," + getWeekday() : "");