Modernize option parsing

Use the new GApplication option parsing
Update valac 0.24 for string-parsing modernization