LivelyKernel/LivelyKernel — pull request #127 by levjj (2013-03-21 22:14:19+00:00)
Title: Fixed module loading

There was a bug with newly definded modules.

Evaluated the following code would not trigger an alert.

```javascript
module('lively.Foo').requires().toRun(function() {
alert(23);
});
```
However, evaluating the code again, or requiring it does trigger the alert. In fact, evaluating the code below causes both 23 and 42 to be alerted at once.

```javascript
module('lively.Bar').requires('lively.Foo').toRun(function() {
alert(42);
});
```

This kind of *lazy loading* could be considered a feature but the current implementation is not consistent in its loading bahavior therefore this patch forces all module definitions without pending requirements to be executed immediately instead.