dashboard/app: Move view props for app handler into helper method

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>
dashboard/app: Allow passing in alternate header component for app controls section

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>