Update sessions.sql

MB-50
1. Create a Postgres stored procedure that accepts an account, URL, a _start timestamp and a _end timestamp and returns an array with records of the session table that intersect the (_start,_end) interval.
2.Create pgtap testing for that procedure