iPad support for accounts widget

Presents the accounts view as a popover instead of a modal through adding convenience methods to the library to help establish convention (their use is suggested, but optional). Simplify the sample app's app delegate logic, so it's clearer and easier to copy from.