Allow lambda in default value

Support for lambda or proc in default value. So you can set default value depending on the object itself or any other state (or maybe even read default value from settings stored in DB)