adding iframe support and refactoring LTI authentication

Added a convenience method for verifying LTI launch authenticity and made a change that allows sinatra to load in iframes.