fix some bugs

ingree -> ingres
stats information can display on webui

need to do:
fix flow management 's modification and deletion bugs (fields not total
match)
recover the flow table when switch connection fails unexpectedly
fix some bugs

Fix:
1 . ingree -> ingres

2. .Stats information can display on webui

Need to do:
1 . Fix flow management 's modification and deletion bugs (fields not
total match)
2 . Recover the flow table when switch connection fails unexpectedly
fix idletimeout hardtimeout
Fix controlleradapter config bug
Merge pull request #35 from hwchiu/core-config-fix

Load core config corretly
Merge pull request #33 from hsiehch/dev

Stat information can be displayed using POX adapter
Merge pull request #37 from dlinknctu/dev

Milestone 2 release
adjust order of flow fields and add dltype field.
Merge branch 'dev', remote-tracking branch 'upstream/dev' into dev
Fix the controlleradapter registerIPC bug.
Merge pull request #39 from hwchiu/core-bug

Core bug(controlleradapter missing registerIPC)
Fix empty actions field bug
Merge pull request #40 from starbops/dev

Fix empty actions field bug
fix the order of flow fields,update some files for dlType
Merge branch 'dev' into fixfield
Merge pull request #41 from win911/fixfield

add dl_type field
fix index.html
mudulize controller adapter
modulize controller adapter
mudulize controller adapter
Fix some errors

Add data2 = json.dumps(data) in core.py
Modify abort(404, "Not found: '/stat/%s'" % request) in core.py

Modify body = data in POX_modules/flow_mod.py and
FloodLight_modules/flow_mod.py