Made slideCount per instance.

I've fixed the issue #88 with this patch.

I'm not using `iRepeatBased`, but I made following changes:
- It looks like `liChilds` is not used anywhere in the code, so removed it.
- Moved slidesCount from compile function to link function.