Add support for setting facebook return login url from properties

Apache's StringUtils has the method substringBeforeLast. Could we use their library instead?