One clarification: If the discriminant of a quadratic P(x) = ax2+bx+c equals zero, then P(x) = a (x-r)2
Now, if a and r are both integers and a is a perfect square P(x) is a square integer for all integer x. Note that this should happen for all integer x. P(n) = n2-1 is a perfect square only for n =1,-1. (as n2 is a perfect square and the only consecutive squares are 0,1)
Another example is consider P(x) = x2+16. It becomes the perfect square of an integer when x =3,-3. and for no other value of x.
Now to your second problem:
Let x =
be a rational number.
For n =1, x = 
Then
is a rational number. However, we have proved above that if
then n2-1 is not a perfect square and the square root of an integer that is not a perfect square is irrational. Hence we obtain a contradiction.
Another way:
Again Let x =
be a rational number
Then so must its reciprocal i.e. 
This means
and
are both rational
i.e.
are both rational. This happens if both n+1 and n-1 are both perfect squares. However, we know that there are no two squares whose difference is 2. Again, we obtain a contradiction.