Here is some official information on FIR with applicability and various references to CrPC and IPC :
Same/similar to above document in PDF format (but this one has some spelling errors so check out yourselves):
Some compendium of information on FIR, NC (Non cognizable offence), reporting of complaint to police, magistrates, powers of police, where to complain etc are given below:
Detailed document with information on arrest with references to CrPC etc is found here:
Police circulars in various states which prohibit police to arrest without investigation etc. Check the applicable circular for your state. You may be able to avoid arrest simply by showing police the copy of the circular if they are foolhardy (or innocent of such circular) to come to your doorstep.
Do you know an ASI from a ASP. Know about police ranks at document below: