Changed /v2/apps endpoint to add embed option for #427
Prefer to use app ports if available in an offer
Changed parameter value from "tasks" to "apps.tasks"
Merge pull request #428 from andreasst/deprecate-v1-api

Changed /v2/apps endpoint to add embed option for #427
Add ability to require app ports to be available in the offer

Can be enabled by setting requirePorts = true in an app definition.
Review changes
Merge pull request #384 from mesosphere/use-app-port

Prefer to use app ports if available in an offer
Merge pull request #431 from mesosphere/issue-430-staging-health-checks

Ignore failed health checks while task is staging.
Rebase with master