MDLSITE-2138 moodledocs filter revamp

- Make it 2.0 filters compliant.
- Added phpunit tests.
- Amended version.
- Show page name as tooltip.