Fixes #108. Incorrect auto publish text and link appears in CMS.

- Prevents 'undefined' from appearing as if auto-publish were enabled.
- Checking zero-length on publishXXX vars alone, isn't enough.
Merge pull request #135 from phptek/issue/108

BUG Fixes #108. Incorrect auto publish text and link appears in CMS.
W.I.P
W.I.P
W.I.P
W.I.P
NOTICE: This is a work-in-progress...untested
NEW Added YML workflow export logic to hook-into existing workflow creation logic

- Added WorkflowDefinitionExporter class, uses existing YML parsing logic
- Added separate formatter class to allow for easy addition of other export formats
- Add YML template with SS template variables and logic
- Added placeholder methods to allow for user/group data to be exported
W.I.P
W.I.P
W.I.P
W.I.P
W.I.P
W.I.P
- Download works, but not from gridfield UI
- Correct workflow is exported
- Added Users and Groups to export for Actions & Transitions
- Download prompt now works from GridField
Needed to modify $url_handlers becuase the "Add new Definition" button
failed. This now works, as does the export logic. "Export to CSV" still
fails though..
All buttons work again
- Ensured template var was escaped so it was generated properly in
  exported template
W.I.P added UploadField, but files are not being associated correctly.
Perhaps, a WorkflowDefinition needs saving _first_ before an upload file
can be associated with it...?
W.I.P:
- Upload works OK for YML files
- Added temporary icon for 'export' action on GridField