gracefully handle errors from COUNT query

- any error from the SQL query would cause exception to be raised rather
	than calling back with the error and giving the caller the opportunity
	to handle it.
Fixed multiple insert issue

When runing insert for multiple records, the verb must be specified,
otherwise the query fails, which is not documented.
This commit extracts the snippet of code setting the verb default
value from if statemen, thus the verb won't be undefined when performing
batch insert.
Normalized Connection Settings

First off, great plugin. Thanks for sharing!

The connection settings were different between node-mysql-activerecord and node-mysql. This was not only confusing but also limiting. If there were certain connection flags one needed to use that are available in node-mysql but not in your activerecord extension (timezone, socketPath, insecureAuth, etc...), they wouldn't be able to use activerecord--which would be a major bummer.

Since the only settings you were using (at the moment) dealt with connection settings for the node-mysql module, I just removed the custom object you made to pass to it and simply passed the entire settings object. This will allow users to use any of the options available to them by node-mysql.

Furthermore, I made it so that the changes would be backwards compatible with earlier versions. In other words, using 'server' and 'username' settings will still work. Probably would be good to deprecate when you go to 0.9.x and remove entirely at 1.0.0.

If you want to support custom settings for the activerecord module itself, it could be done pretty easily in various ways. 

For example:

var db = new Db.Adapter({
    connection: {
        server:   'localhost',
        username: 'my_user',
        password: 'my_password',
        database: 'my_database'
    },
    custom: 'settings',
    can: 'go here',
    easy: true
});

Then it would as easy as changing index.js to:

    var connection = new mysql.createConnection(settings.connection);

I really hope you can incorporate this change.
Spelling corrected in 'having' method
Merge pull request #14 from hisankaran/master

Spelling corrected in 'having' method
Merge pull request #12 from hpilosyan/multiple_insert_fix

Fixed multiple insert issue
Merge pull request #10 from aarongowatch/master

Fix COUNT error handling
Merge pull request #13 from kylefarris/patch-1

Normalized Connection Settings
version bump in npm
mysql pooling
update README.md
Merge lastest upstream master
Merge branch 'kylefarris/master' into merge

Conflicts:
	index.js
add more pool option
pool disconnection
Merge pull request #17 from lateau/master

Merge pooling into upstream master
some syntax and spacing formatting tweaks
avoid follow warning. (node) warning: possible EventEmitter memory leak detected.
Update to package contributors

Credit for recent contributors.
Merge pull request #20 from kylefarris/patch-2

Update to package contributors