added new const and method for saving a pin type category
fixed a comment
added possibility to create pin types via MW entry point
changed visibility of some methods, added a unit tests
added failing test cases
fixed failing unit test
Merge branch 'MOB-1554-php-changes' into MOB-1554