Added collapse buttons programatically.
Merge branch 'master' into feature/SidebarCollapse
changed placement of collapse button divs so they are put into center
'map' pane and positioning is done only via CSS. There is no longer a
need to maintain the original width/height of the pane.

allow for a splitter to be used with panel. With the change to css
positioning, button stays at edge of pane while resizing.

added support for an optional top pane.

moved the right/bottom/top panes to config/viewer to demonstrate how
that is done.
Restored support for placement in outer pane. Also added mobile popup.

1. Restored support for collapse buttons to be placed in the outer pane.

2. Added flag in config to allow placement either in center or outer
panes.

3. Added support for splitters when managing position of collapse
buttons.

4. Added support for mobile identify popup for phones using simple
detection of touch device with extra-small viewport.
a couple of fixes for mobile detection.
changed mobile detection to use screen instead of dojo/window.
use `has` class instead of Controller properties to store variables.
added distinction between phone and tablet.
Hide the splitter when the pane is collapsed.
Fixed a typo in viewer.js comment.
Added css and code to style panes if splitters present.
Fixed FloatingTitlePane: splitter issue and browser resize issue.
Fixed Sidebar styling for all permeations of panes.
Fixed widget docking in other panes (sorting issue).
Merge pull request #141 from DavidSpriggs/feature/SidebarCollapse

Feature/sidebarCollapse