Finish quote source

- Add prefix and suffix to query

- Create nice function to render the source

- Replace strlen with drupal_strlen in all functions