spike2 matlab-based database operations

some changes - more to come