Portal integration
Set defaults to be generic
Merge pull request #35 from regan-sarwas/Portal

Added ability to use maps on a private Portal
Fix #28 - Support Portal for ArcGIS
1) code was unnecessarily converting website to all lowercase, which was causing problems with case sensitive web servers (e.g. apache). so, i changed code to evaluate as lowercase, but not reassign the variable value.  also created a reusable function, prependHTTPToWebsite, to handle that business 2) discovered some cases when website var was being declared and processed twice in the same function, so cleaned that up and simplified.
using more comprehensive prependURLHTTP function to replace prependHTTPToWebsite.
oops, introduced an error in the prior commit: showDetails doesn't have an att var.  overzealous copy/paste
Merge pull request #38 from leebock/master

Don't convert website URL to lowercase
Merge branch 'master' into nps-identity