Trims whitespaces in Desktop files entries

As per freedesktop standards, an entry may have whitespaces around the equals sign
This modification eliminates space and tabs around the equals sign and beginning and end of the line

Migrate away from strtok. Use C++ strings for parsing menu-entries.

Fixes #20
Fixes #10