[mapillary] Simplify paint() in MapillaryLayer
Parts of the paint()-method are now in a new utility-class, which reduces complexity of paint() and allows for easier unit testing of that part. Some code style improvements are also bundled in this commit.