Refactored primitive functions, sound pitch and improved menu class.

- Primitive functions now have separate filled and outline versions.
Order of parameters also changed.

- Added optional hint argument to Sound::setPlaybackSpeed to hint the
code to not optimize playback and allow sound pitch change during
playback.

- Added Menu::at() and Menu::getEntryCount().