Updated API with new functionality

The actual API has changed dramatically to keep some consistency with records. This way records can be easily manipulated. Also the connection with the binary has been updated to protocol 19 and tested with OrientDB 1.7.0.