Added scoped_resource constructor that takes an init function
Merge pull request #1 from Darkhogg/master

Added scoped_resource constructor that takes an init function.