Merge branch 'issue60'
Bugfix. When BIB entries were deleted manually, the code was
prone to sync issues.
Lots of revision on the issue #60 code.
Updated many comments, solved a couple of concurrence issues and
optimized some tree walks.
commit for the issue #65
when updated lifetime parameter for sessions, the sessions->dying_time are updated to for the new ttl.
revision on the issue #65 and added an increment of the table's counter.
Review Issue # 65 and broke circular dependencies.
First step of issue #57.
Downgraded most logging messages to debug priority because we're
no longer going to bother users with them unless debug is turned
on.
Added stats functions to the packet module.
The code still doesn't compile; I'm only committing because I need
to pay attention to some other stuff for a while.
Lotsa revision, not done yet.
- Updated many comments.
- Noticed several errors, added more TODOs (identifiable by the
"issue #65" label).
- Deleted some functions no longer being used.
Also some pointless whims:
- Changed the name of the BIB lock because it was too wordy.
issue #88 , display all the session entries than the previous limit in session display entries, TODO: (FIX) do the same for bib display
issue #88 , made the changes to display the entire "BIB" database, and fix the previous commit due to an error on user application, that didn't display the entire Session Database.
functions are added to measure the time it takes to execute certain functions, using get_cycles (), tested on "core.c".
code revision "session db.c" when updated session->dying_time in some functions to avoid concurrency.
code revision "bib_db.c"
Mainly updating some comments and a handful of small bugfixes.
Probably ready to merge.
Merge branch 'issue57' into issue88

Conflicts:
	mod/bib.c
	mod/filtering_and_updating.c
	mod/pool4.c
	mod/poolnum.c
	mod/session.c
	mod/static_routes.c
	mod/translate_packet_4to6.c
	mod/translate_packet_6to4.c
Lots of bugfixes to the merge.
Issue #57 is probably 80% done.
Merge branch 'feature_log_benchmark' into merge-57-60-65-88

The profiler is going to be official, just not used while NAT64ing.
Mostly added comments to the BIB and session modules.
Also removed some redundant code, enforced code conventions and applied some small refactors.
I also removed the code that adds compatibility with kernel 2.6.38, because it no longer makes much sense to support only that one random 2.x kernel.
bug fix, read comments applied to the file.