Unify lua_error_XXX function names.
Fix. counter:as_XXX always use PDH_FMT_DOUBLE constant.
Add. counter:as_XXX_array([callback]) function.
Add. .gitignore file.
Change. counter:as_XXX_array pass also index to callback.