Fixed REST SLD issue
Added a failsafe public context if getContextPath() comes in blank
Revert context path issue
Merge pull request #433 from isuftin/master

SLD issue, context path problems