New manifest API implementation (part 1)

The following steps from http://w3c.github.io/manifest/#processing-the-manifest
are implemented (considering the known limitations):
1) steps for processing the start_url member
2) steps for processing the display member
Merge pull request #1871 from pozdnyakov/New_Manifest_API

New manifest API implementation (part 1)