Making build compatible with windows.
Added missing Deft.core.Class require statements

Pior to this fix Observer and ViewController were causing exceptions
when using run-time module loading or the sencha build tool due to
Deft.core.Class being undefined. To resolve this added require
statements and moved dependent code into the onClassCreated callback.
Merge pull request #55 from superstructor/feature/classdep

Added missing Deft.core.Class require statements
Update Observer implementation to allow use of a configuration object to specify event, function and scope.
While we're at it, this adds the changes to the build.xml to detect win vs. osx, if you want to confirm that it works on your end.
Merge branch 'buildXmlWindowsCompatible' of https://github.com/dmurat/DeftJS
Updated builds to reflect Isaac's fix for missing `require` statements.
Tweaked build.xml windows compatibility changes submitted by Damir.
Merge branch 'deft_observe_config' of https://github.com/brian428/DeftJS

Resolved conflicts:
	build.xml
	build/deft.js
First pass at adding JSDuck API docs. Windows jsduck.exe v4.1.1 is included, but *nix installs must be done via rubygems (see https://github.com/senchalabs/jsduck). Added/updated some JSDuck-style comments across the framework so that all classes at least appear in the generated docs. Added optional Ant task to build docs, with a commented line that we can include in the build task once this is vetted.
Minor tweaks to ViewController constructor.
Introduced Deft.mvc.Application template class.
Refactored Promise Jasmine unit tests.

Introduced toResolveWith(), toRejectWith(), toUpdateWith() and toCancelWith() matchers to reduce verbose boilerplate test evaluation code.
Added partial coverage of Deft.Promise.any(), Deft.Promise.map() and Deft.Promise.reduce().
Implemented remaining Deft.Promise.any() Jasmine unit tests.
Updated to CoffeeScript 1.4.0
Modified Deft.Promise::map() to also pass the index and original Array as parameters to the mapping function.

Previously, only the value was passed.

Fixes #57
Fixed scope issue in previous commit.

CoffeeScript's `do` is helpful, but it doesn't maintain scope, so `this` was `window`, rendering @when inaccessible.
README typos

A few simple typo fixes to get my feet wet ;)
Merge pull request #58 from bmoeskau/master

README typos
Fixed broken initialization logic in Deft.mvc.Application.

CoffeeScript typo = wildly different JavaScript implementation that different.