Local analytic classification of q-difference equations