First implementation of getStyleInfo

getStyleInfo returns a simplified JSON format to make it easier to convert to CSS
How about:

```javascript
documentId = parseInt(documentId, 10);
if (!isFinite(documentId)) {
  return Q.reject("documentId parameter to _getStyleInfo must be an integer.");
}
```