extend function created

    Based on backbone.js's use of extend, this is simple and doesn't
    support class propertys, these will be added later. the extend function
    needs to handle the prototype chain better in terms of super. this'll do
    for now