Plg 623 drupal tos screen

This PR is for getting the TOS and Retry screens to display based on what is in the database. No other implementation yet. Most of the was "inspired" by the work done in the shareaholic wordpress plugin in order to keep the plugins as consistent as possible. There are differences but that is naturally unavoidable.