rapidsms/rapidsms — pull request #448 by fredcido (2014-11-03 00:47:20+00:00)
Title: Linking Outgoing message in the Database Router with the Database message

When using Database Router as rapidsms router, at the backend_preparation, link the database message object with the Outgoing message, making possible to retrieve the message saved using the message object.

Now when you use:

```python
from rapidsms import router
...
outgoing_message = router.send('Testing message', connections)
# Now you can get the database messages and transmissions
print outgoing_message.database_message.status
outgoing_message.database_message.transmissions.all()