Use thread relational data

* Created a controller to access relational eloquent data models on the
new Message model

* Made some edits to get the infinite scroll working again after the
changes made to the load procedure related to script injection
processing.