Modify default to accept a function or value

I needed default to accept either a function (to generate a value) or a value. This will allow you to create the current date as the default value.

Use case:

```javascript

var schemajs.create({
  created_on: { type: "date", default: Date.now }
});
```