Discussion dao implement

To 0.1 release.
Links to see older discussion is less functional.
Now it works only next page and one time.

IDとMAIN_IDがそれぞれ何なのかコメントが必要、あるいは区別し易い名前に。