Support popupOptions argument on featureLayer. Fixes #862