[TEST] Replaced RestApiParser assertions with exceptions for better error messages
[DOC] The percentiles aggregation is coming in 1.1.0.
Fix small typo in percentiles doc